#include <gtest/gtest.h>

#include <macros.hpp>
#include <subarray-sum-eqk.hpp>

using namespace std;

TEST(SubarraySumEQKTest, Exp1) {
    vector<int> v = {1, 1, 1};
    macro_test("", "", 2, answer, v, 2);
}

TEST(SubarraySumEQKTest, Exp2) {
    vector<int> v = {1, 2, 3};
    macro_test("", "", 2, answer, v, 3);
}

int main(int argc, char* argv[]) {
    testing::InitGoogleTest(&argc, argv);
    int result = RUN_ALL_TESTS();
    return result;
}